package se.webbzon.oschi01.utils;

public class EnumUtils {

	@SafeVarargs
	public static <E extends Enum<?>> boolean anyOf(E value, E ... test) {
		for (E t : test) {
			if (value == t)
				return true;
		}
		return false;
	}
	
}
